package entity;

import java.util.Date;

public class Order_item {
    private int id;
    private String oid;
    private int gid;
    private int g_num;
    private String gname;
    private double pay_price;
    private int post_sale;
    private Date pay_time;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getOid() {
		return oid;
	}
	public void setOid(String oid) {
		this.oid = oid;
	}
	public int getGid() {
		return gid;
	}
	public void setGid(int gid) {
		this.gid = gid;
	}
	public int getG_num() {
		return g_num;
	}
	public void setG_num(int g_num) {
		this.g_num = g_num;
	}
	public String getGname() {
		return gname;
	}
	public void setGname(String gname) {
		this.gname = gname;
	}
	public double getPay_price() {
		return pay_price;
	}
	public void setPay_price(double pay_price) {
		this.pay_price = pay_price;
	}
	public int getPost_sale() {
		return post_sale;
	}
	public void setPost_sale(int post_sale) {
		this.post_sale = post_sale;
	}
	public Date getPay_time() {
		return pay_time;
	}
	public void setPay_time(Date pay_time) {
		this.pay_time = pay_time;
	}
	@Override
	public String toString() {
		return "Order [id=" + id + ", oid=" + oid + ", gid=" + gid + ", g_num=" + g_num + ", gname=" + gname
				+ ", pay_price=" + pay_price + ", post_sale=" + post_sale + ", pay_time=" + pay_time + "]";
	}
	   
}
